two algebraic expressions with multiple variables